#ifndef masina
#define masina

#include<iostream>

using namespace std;

class CMasina
{
protected: char *culoare;
		   char *transmisie;
	
public: virtual void afisare(){};	
		char *getculoare () {return culoare;}
		char *gettransmisie(){ return transmisie;}
		CMasina(char*a,char*b)
		{
		   this->culoare=new char[strlen(a)+2];
		   this->transmisie=new char[strlen(b)+2];
			strcpy(this->culoare,a);
			strcpy(this->transmisie,b);
		}
};


#endif